home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
boyan52b.zip
/
SCRIPT.DOC
< prev
Wrap
Text File
|
1994-01-28
|
19KB
|
441 lines
Most scripts are provided - by Lee Breeden
This script is offered AS IS with all its flaws, as an example of the
many different options available with BOYAN script language. There are no
warranties, express or implied. This is the efforts of my time, as well
as others who have tried, tested, modified and corrected spelling <G> to
make this what it is.
This idea was inspired by Kendall D'Andres, and help from Paul Buerkle.
The new scripts contain a new feature called SMART script, which will
allow you to have inter-action with a remote system while the script is
running and then return control back to the script. It will also allow
you to abort the script the script and allow it to RESUME where it left
off......
New script has improved file transfers, supports BBSee15 for
handling filenames using QWK newfiles.dat info.
Now supports RoseMail!
These are a few scripts that will make a system script that will set all of
the variables necessary for calling a system for mail, and file functions.
It is self explanatory to generate the script, but there are some things
that will need to be modified in your current boyan.mac file for all of
this to work.
The files contained are:
° Readme.txt - this file
° Script.bsc - this contains all of the commands that will be used to
run the system script.
° Makemail.bsc - is the file that you will need to run that makes the
system script for you.
° Nite.bsc - is a sample of my own script that I use to start calling
all of the systems that I call.
° Boy.mac - this is my own macro file that I use on my system. If
you would like to look at it, I would suggest
that you rename your own boyan.mac file and then ren
boy.mac to boyan.mac and look at mine.
If you do, you might need to make the following changes
if you plan on trying to use it:
a) modem init string. macro #9
b) macro #1 has commands for call waiting.
Script LIST:
° end bsc This is a nice script that I run after disconnecting
from a system (Macro #7), it displays the time and
lenght of connection from the last call
° gt-power bsc Logon script for GTComm boards
° makemail bsc MAIL Script generator
° nite bsc Sample unattended nite mail setup script
° pcboard bsc Logon script for PCBoards
° qefiles bsc Filename grabber script.
° quote bsc Message quote macro
° rbbs bsc Logon script for RBBS boards
° script bsc Main script for mail calls
° start bsc Startup script for setting log file by date
° wildcat bsc Logon script for WildCat boards
Purpose:
This program is to aid anyone interested in calling systems unattended
for mail and file transfers to PCBoard systems. All of this is will be
done with Boyan scripts. Even the process of creating a script will be
done with a Boyan script.
Getting started:
First place all of the *.bsc files in the boyan script file directory.
Next hit ALT-R and delete anything on the status line, followed by <CR>.
Highlight the script called makemail.bsc and hit <cr>.
You will need to have the following handy to complete the script.
° Name to call the script.
° Type of door for mail.
° Door number.
° Name of system mail packets for both up and downloads.
° The number of mail packets that you wish to keep.
The script called MailMake.bsc will check for your first and last name in
macros #111 and #112. If not contained there, it will ask you for your
first and last name. Then it will install them in 111 and 112 for you. The
next time that you run MakeMail it will display your first and last name
on the screen and ask if this is correct.
It will be displayed as Lee ` Breeden
the back quote character, one character after your first name MUST be
there for all of this to work.
The script will then check to see if you have a defined password in the
setup. If not it will ask you to install one. The rest of the script will
be question and answer of the above questions. All of this information
will be stored in your user defined script name.
Operation of the script.
Once you have created the User defined script, it will set all of the
variables that will be needed for the call. All of the variables will be
used in the script call SCRIPT.bsc. This way, if there are any changes in
the mail door(s). A new script.bsc file can be easily replaced for the
existing one without having to changes to the related commands for the
system.bsc.
Here is what your system script should look like:
\\ This script automates Mail runs to EDSHOME Bulletin Board.
\\ You must set the following macros with BOYAN's configuration module:
\\ \! = Macro # 111 = Your first name
\\ \@ = Macro # 112 = Your last name
\\ %PW = Is your defined password.
\\ \sv1 used for mail system report file *.rep.
\\ \sv2 used for prodoor option number.
\\ \sv3 used for mail door option number.
\\ \sv4 used for mail packet system name *.qwk.
\\ \sv5 used for up-file name or names.
\\ \sv6 used for file upload description.
\\ \sv7 used for file upload description, leave blank if not used
\\ \sv8 used for file upload description, leave blank if not used
\\ \sv9 used for file upload description, leave blank if not used
\\ \sv0 used for system name in call back option.
\\ \svA used to set option for call back block.
\\ \svB used for setting number of mail packets to keep.
\\ \svC used for setting file scan option <U>pload <A>ll etc.
\\ \svD used internally to read variable
\\ \svE used internally for selection option
\\ \svF used for setting cursor position in mail door.
\\ \svG used for setting the maximun number of messages in mail door.
\\ \svH used for setting timer to wait for no messages prompt in mail door.
\\ Need to have in boyan macro #7 \AT+[\qd]
\\ as last command.
\\Script assumes that you put your message replies in upload dir.
\\Script assumes that you put your messages packets in DN dir.
\\Script assumes that you use Zmodem configured as Z.
|LOGON \\ Start script blocks
\IE+OFF,%LD[\LD+] \\ Turn on Log to disk file
\SV0[%SN] \\ set existing system number to %v0
\sv1[EdsHome.rep] \\ Report packet name
\SV2[1] \\ enter door number [#]
\sv4[EdsHome.qwk] \\ Mail Packet name
\SV5[boydoc50.zip ] \\ Name of file to UpLoad
\SV6[Great boyan script for viewing portions ]\\ file description
\SV7[of the boyan 5.0 manual. Has menu and ]\\ file description
\SV8[table of contents. By Paul Buerkle ]\\ file description
\SV9[ ] \\ enter file name to download
\SVB[9] \\ enter number of qwk's to keep
\SVC[a] \\ scanning directories for files A all or U uploads
\SVF[35] \\ Cursor position
\SVG[800] \\ Maximum message counter for mail
\SVH[1] \\ Timer to wait for NO messages 2-15 sec
\DM[CONNECTED TO %SN] \\ System display message
\to[40]\pl \\ Set time